package com.example.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.entity.Book;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 书 Mapper 接口
 * </p>
 *
 * @author fanbinbing
 * @since 2021-12-23
 */
public interface BookMapper extends BaseMapper<Book> {
    IPage<Book> selectBywrapper(IPage<Book> page,@Param(Constants.WRAPPER)Wrapper<Book> wrapper);

}
